package groep3.ssc.controllers;

import groep3.ssc.tmts.TMTSFinder;
import groep3.ssc.tmts.TMTSListener;
import android.content.Context;

public class Bootstrap
{

    @SuppressWarnings("unused")
    //place holder
    private TMTSListener tmtsListener;
    private Context context;
    private TMTSFinder tmtsFinder;

    public Bootstrap(Context context)
    {
        this.context = context;
        DbController.create(this.context);
        initializeTMTS();
    }

    private void initializeTMTS()
    {
        tmtsListener = new TMTSListener();

        tmtsFinder = TMTSFinder.getInstance();
        new Thread(tmtsFinder).start();
    }
}
